//
//  renzhengViewController.m
//  xiaoyiNew
//
//  Created by 讯一 on 17/1/4.
//  Copyright © 2017年 讯一. All rights reserved.
//

#import "renzhengViewController.h"

@interface renzhengViewController ()
@property UITextField *name;
@property UITextField *schoolname;
@property UITextField *studentNum;
@property UITextField *identityNum;

@end

@implementation renzhengViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = TSColor(240, 240, 240);
    self.title = @"认证";
    UILabel *lable1 = [[UILabel alloc]initWithFrame:CGRectMake(0, 64, 88, 60)];
    lable1.backgroundColor = [UIColor whiteColor];
    lable1.text = @" 真实姓名:";
    [self.view addSubview:lable1];
    
    _name = [[UITextField alloc]initWithFrame:CGRectMake(88, 64, Screen_Width- 88, 60)];
    _name.backgroundColor = [UIColor whiteColor];
    _name.placeholder = @"请输入真实姓名";
    [self.view addSubview:_name];
    
    UILabel *lable2 = [[UILabel alloc]initWithFrame:CGRectMake(0, 64+ 61, 88, 60)];
    lable2.backgroundColor = [UIColor whiteColor];
    lable2.text = @" 学校全称:";
    [self.view addSubview:lable2];
    
    _schoolname = [[UITextField alloc]initWithFrame:CGRectMake(88, 64 +61, Screen_Width- 88, 60)];
    _schoolname.backgroundColor = [UIColor whiteColor];
    _schoolname.placeholder = @"请输入学校全称";
    [self.view addSubview:_schoolname];
    
    //
    UILabel *lable3 = [[UILabel alloc]initWithFrame:CGRectMake(0, 64+ 61+60 + 20, 88, 60)];
    lable3.backgroundColor = [UIColor whiteColor];
    lable3.text = @" 本人学号:";
    [self.view addSubview:lable3];
    
    _studentNum = [[UITextField alloc]initWithFrame:CGRectMake(88, 64 +61+60 + 20, Screen_Width- 88, 60)];
    _studentNum.backgroundColor = [UIColor whiteColor];
    _studentNum.placeholder = @"请输入学号";
    [self.view addSubview:_studentNum];
    
    //
    UILabel *lable4 = [[UILabel alloc]initWithFrame:CGRectMake(0, 64+ 61 + 60+20 + 61, 88, 60)];
    lable4.backgroundColor = [UIColor whiteColor];
    lable4.text = @" 身份证号:";
    [self.view addSubview:lable4];
    
    _identityNum = [[UITextField alloc]initWithFrame:CGRectMake(88, 64 +61+60 + 20 + 61, Screen_Width- 88, 60)];
    _identityNum.backgroundColor = [UIColor whiteColor];
    _identityNum.placeholder = @"请输入有效身份证号码";
    [self.view addSubview:_identityNum];
    //
    UILabel *lable5 = [[UILabel alloc]initWithFrame:CGRectMake(0, 64 +61+60 + 20 + 62+60, Screen_Width, 34)];
    lable5.text = @"请上传身份证正面照片";
    lable5.textAlignment = NSTextAlignmentCenter;
    lable5.backgroundColor = [UIColor clearColor];
    [self.view addSubview:lable5];

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
